package cn.wsalix.biz.form;

import javax.validation.constraints.NotNull;

import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.anlaser.form.ParentForm;
import cn.wsalix.shop.entity.Shop;
import cn.wsalix.status.CatEnum;
import cn.wsalix.status.CatImgEnum;
import cn.wsalix.status.CatProdcutEnum;
import cn.wsalix.status.CatSubProdcutEnum;
@Data
@EqualsAndHashCode(callSuper = false)
public class CategoryForm extends ParentForm {
	private String name;
	protected String code;
	boolean parentNull = false;
	@NotNull
	private Long userId;
	/**
	 * 
	 */
	private CatEnum status; 
	private CatProdcutEnum type;
	private CatSubProdcutEnum subProduct;
	private CatImgEnum imgType;
	private String uploadType;
	
	@NotNull
	private Long productId;
	//private Long shopId;
	private String filePath;
	
	private Long shopId;
	//private Shop shop;
}
